#include "mythread.h"
#include <thread>
#include <chrono>
#include <iostream>

#define POMODORO_TIME 25

MyThread::MyThread(QObject *parent) : QThread(parent)
{

}

void MyThread::run()
{
    std::this_thread::sleep_for(std::chrono::milliseconds(POMODORO_TIME*60*1000));
    emit isDone();
}
